﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nuzzle.Protocol.Types.Game.Context.Roleplay
{
    public class GameRolePlayCharacterInformations : GameRolePlayHumanoidInformations
    {
        public Character.Alignment.ActorAlignmentInformations Alignment { get; set; }

        public GameRolePlayCharacterInformations(Character.Alignment.ActorAlignmentInformations alignment,
            byte emoteID, double emoteStartTime, short titleID, string titleParam, 
            string name, int contextID, Look.EntityLook look, EntityDispositionInformations disposition)
            : base(emoteID, emoteStartTime, titleID, titleParam, name, contextID, look, disposition)
        {
            this.Alignment = alignment;
        }

        public void Serialize(NetworkMessage message)
        {
            base.Serialize(message);
            this.Alignment.Serialize(message);
        }
    }
}
